package com.cicadasmall.support.sqlbuilder.builder.ddl;

import com.cicadasmall.common.base.BaseEnum;
import com.cicadasmall.support.sqlbuilder.builder.ISqlBuilder;

/**
 * @author Jin
 * @date 2021-01-31 19:10:53
 * @description: 创建数据表
 */
public interface CreateTableSqlBuilder<T extends CreateTableSqlBuilder> extends ISqlBuilder  {

    T initColumn(String columnName, BaseEnum columnType, Integer length, boolean autoIncrement, String defaultValue, boolean isNotNull, boolean isPrimaryKey);

    T rename(String newTableName);

    T tableName(String tableName);

}
